<?php

var_dump($_GET);
// 引入配置
// include_once
// include
include_once 'Db.php';

// 实例化
$db = new DB_API($config);

# 得到地址栏上面的参数
$where['id'] = intval($_GET['id']);

$del = $db->delete("wish", $where);

header("Location: index.php");





